<template>
    <div>
      <!--信息-->
      <div class="Sidebar">
        <h3>群组搜索</h3>
      </div>
      <ngnClu></ngnClu>
      <!--标签-->
      <!--<div class="containers">
        <div class="conditions-wrap">
          <el-tag
            size="mini" :type="tag.type" :key="index" v-for="(tag, index) in dynamicTags" closable :disable-transitions="false" @close="handleClose(tag)">
            {{tag.name}}
          </el-tag>
        </div>
        <span class="sure-btn">
        确定
      </span>
      </div>-->
    </div>
</template>

<script>
  import ngnClu from './Sidebar/ngnClu'
    export default {
      components: {
        ngnClu
      },
      data() {
        return {
          dynamicTags: [
            {name: '标签一', type: ''},
            {name: '标签二', type: 'success'},
            {name: '标签三', type: 'info'},
            {name: '标签四', type: 'warning'},
            {name: '标签五', type: 'danger'}
          ],
        }
      },
      methods: {
        handleClose(tag) {
          this.dynamicTags.splice(this.dynamicTags.indexOf(tag), 1);
        },
      }

    }
</script>

<style scoped>
  @import '../../../assets/index.css';
  .Sidebar {
    padding-left: 30px;
  }
  .Sidebar > h3 {
    color: #fff;
    font-size: 20px;
  }

  .containers {
    padding: 10px 20px;
    background-color: rgba(245, 245, 248, 0.1);
    border-radius: 10px;
    -webkit-box-shadow: 10px 5px 30px 10px rgba(0, 0, 0, 0.2);
    box-shadow: 10px 5px 30px 10px rgba(0, 0, 0, 0.2);
    margin: 0 30px 0 0;
  }
  .conditions-wrap{
    height: 100px;
    margin-bottom: 20px;
  }
  .el-tag + .el-tag {
    margin-left: 10px;
  }
  .sure-btn{
    margin-top: 40px;
    float: right;
    display: inline-block;
    width: 80px;
    height: 30px;
    line-height: 30px;
    text-align: center;
    background: #1f9e91;
    border-radius: 5px;
    cursor: pointer;
  }
</style>
